home *** CD-ROM | disk | FTP | other *** search
/ CD/PC Actual 3 / CD ACTUAL 3.iso / linux / system / bsvc-1.000 / bsvc-1 / bsvc-1.0.4 / src / Sim68000 / devices / DeviceRegistry.hxx < prev    next >
Encoding:
Text File  |  1995-07-26  |  1.3 KB  |  41 lines

  1. /////////////////////////////////////////////////////////////////////////////// //
  2. // $Id: DeviceRegistry.hxx,v 1.1 1994/02/18 20:11:56 bmott Exp $
  3. /////////////////////////////////////////////////////////////////////////////// //
  4. // DeviceRegistry.hxx
  5. //
  6. //   This class keeps up with a list of all of the availible devices and
  7. // allocates them.  It's dervied from the BasicDeviceRegistry
  8. //
  9. // Sim68000 "Motorola 68000 Simulator"
  10. // Copyright (c) 1993
  11. // By: Bradford W. Mott
  12. // October 30,1993
  13. //
  14. ///////////////////////////////////////////////////////////////////////////////
  15. // $Log: DeviceRegistry.hxx,v $
  16. // Revision 1.1  1994/02/18  20:11:56  bmott
  17. // Initial revision
  18. //
  19. ///////////////////////////////////////////////////////////////////////////////
  20.  
  21. #ifndef DEVICEREGISTRY_HXX
  22. #define DEVICEREGISTRY_HXX
  23.  
  24. #include "BasicDeviceRegistry.hxx"
  25.  
  26. ///////////////////////////////////////////////////////////////////////////////
  27. // The DeviceRegistry Class
  28. ///////////////////////////////////////////////////////////////////////////////
  29. class DeviceRegistry : public BasicDeviceRegistry {
  30.   private:
  31.     static const DeviceInformation device_info[];
  32.  
  33.   public:
  34.     DeviceRegistry();
  35.  
  36.     // Create a device with the given name (return 1=OK,0=ERROR)
  37.     int Create(String& name, String& args, BasicCPU *,
  38.                BasicDevice* &device); 
  39. };
  40. #endif
  41.